package org.eden.rpc.common.entity.dao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable{

    private Long id;
    private String username;
    private String password;

    private String phone;
    private String email;

    private Boolean valid;
    private Boolean delete;
    private String authority;

    private LocalDateTime regTime;
    private LocalDateTime updateTime;
    private LocalDateTime latestLogin;

}
